package scrabble.models;

/**
 * Classe definissant les cases contenants un bonus.
 * @author Baptiste Viale
 *
 */
public class Bonus extends DisplayableObject {
	
	public enum BonusType { doubleLetter, doubleWord, tripleLetter, tripleWord };
	
	private BonusType bonusType;
	
	public Bonus(BonusType bonusType){
		this.bonusType = bonusType;
	}
	
	public BonusType getBonus(){
		return this.bonusType;
	}
	
	@Override
	public String toString(){
		return String.valueOf(this.bonusType.ordinal() + 1);
	}
}
